<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Index extends BaseController{

    public function __construct()
    {
        parent::__construct();
    }
    public function index(){
    	$baikai = "baik=4&baika=3&baikai=2&clientOs=1";
    	var_dump($this->convertUrlQuery($baikai));
    	echo "Welcome to see you !";
    	die;
    }
    function convertUrlQuery($query)
	{
	    $queryParts = explode('&', $query);
	    $params = array();
	    foreach ($queryParts as $param)
	    {
	        $item = explode('=', $param);
	        $params[$item[0]] = $item[1];
	    }
	    return $params;
	}
        
}

/* End of file login.php */
/* Location: ./application/controllers/login.php */
